﻿<div class="container-fluid navbar-fixed-top top-bar">
    <div class="container-title">
        <div class="container-title-back" ng-click="back()"></div>
        <div class="container-title-main">巡查任务列表</div>
        <div class="container-title-saoma" ng-click="saoma()"></div>
    </div>
</div>
<div class="clear50"></div>
<div class="xx_bg"></div>
<div class="qycx list-fixtop">
    <div class="nav-class">
        <div class="container-fluid">
            <table class="table">
                <tbody>
                    <tr>
                        <td><a class="active" id="f_left">&nbsp;&nbsp;&nbsp;&nbsp;待 处 理&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                        <td><a id="f_right">&nbsp;&nbsp;&nbsp;&nbsp;已 处 理&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="page1 css_a css_m">
    <div class="clear40"></div>
    <div class="container-fluid" ng-click="newtask()">
        <div class="list-menu" style="height:inherit">
            <ul class="nav navbar-right">
                <li class="dropdown">新建任务</li>
            </ul>
        </div>
    </div>
    <div class="page1" id="div_data" openxtonscrolldown="f_showdata();">
        <!--<div class="clear20"></div>-->
        <div class="new_border" ng-repeat="sin in list">
            <div class="container-fluid">
                <div class="list-menu" style="height:inherit; background:none">
                    <p class="q13">{{sin.TaskID}}<b ng-click="log(sin.TaskID)">{{sin.IsDelay|cbutton}}</b></p>
                    <p class="q14">{{sin.CodeName}}</p>
                    <p class="q1">{{sin.HouseZhCnNo+sin.HouseNo1|longname}}</p>
                    <p class="q3">{{sin.Address|longname}}</p>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="page2 css_a css_r" style="display:none;">
    <div class="clear40"></div>
    <div class="page2" id="div_data2" openxtonscrolldown="f_showdata2();">
        <!--<div class="clear20"></div>-->
        <div class="new_border" ng-repeat="sin2 in list2">
            <div class="container-fluid">
                <div class="list-menu" style="height:inherit; background:none">
                    <p class="q13">{{sin2.TaskID}}</p>
                    <p class="q14">{{sin2.CodeName}}</p>
                    <p class="q1">{{sin2.HouseZhCnNo+sin2.HouseNo1|longname}}</p>
                    <p class="q3">{{sin2.Address|longname}}</p>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="Scripts/js/main.js"></script>
<script>
    $("#f_right").click(function () {
        $(".page1").addClass("css_l");
        $(".page2").show().addClass("css_m");
        //setTimeout(function () { $(".page1").css({ 'display': 'none' }); $(".xx_bg").css("height", $(".page1").height() + 300) }, 500)
        $(".page1").css({ 'display': 'none' });
    })

    $("#f_left").click(function () {
        $(".page1").show().removeClass("css_l");
        $(".page2").removeClass("css_m");
        //setTimeout(function () { $(".page2").css({ 'display': 'none' }); $(".xx_bg").css("height", $(".page2").height() + 300) }, 500)
        $(".page2").css({ 'display': 'none' });
    })
</script>
<!--<div class="container-fluid" ng-click="newtask()">
    <div class="list-menu">
        新建任务
    </div>
</div>-->
<!--<div class="fl_active">
    <div class="nav-class">
        <div class="container-fluid">
            <table class="table">
                <tbody>
                    <tr>
                        <td><a class="active">&nbsp;&nbsp;&nbsp;&nbsp;待 处 理&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                        <td><a>&nbsp;&nbsp;&nbsp;&nbsp;已 处 理&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>-->
<!--<div class="page1" id="div_data" openxtonscrolldown="f_showdata();">
    <div ng-repeat="sin in list">
        <div class="new-style-3">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>任务编号:</h1>
                    </div>
                    <div class="col-lg-5 col-md-5 col-xs-5 col-sm-5">
                        <h2>{{sin.MissionCode}}</h2>
                    </div>
                    <div class="col-lg-4 col-md-4 col-xs-4 col-sm-4"><a class="btn btn-default" ng-click="log(sin.ID)">登记</a></div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>任务类型:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin.MissionType}}</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>房屋编码:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin.HouseCode}}</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>房屋地址:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin.HouseAddress}}</h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="page2" id="div_data2" openxtonscrolldown="f_showdata2();" style="display:none">
    <div ng-repeat="sin2 in list2">
        <div class="new-style-3">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>任务编号:</h1>
                    </div>
                    <div class="col-lg-5 col-md-5 col-xs-5 col-sm-5">
                        <h2>{{sin2.MissionCode}}</h2>
                    </div>
                    <div class="col-lg-4 col-md-4 col-xs-4 col-sm-4"></div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>任务类型:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin2.MissionType}}</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>房屋编码:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin2.HouseCode}}</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-3 col-md-3 col-xs-3 col-sm-3">
                        <h1>房屋地址:</h1>
                    </div>
                    <div class="col-lg-9 col-md-9 col-xs-9 col-sm-9">
                        <h2>{{sin2.HouseAddress}}</h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>-->
<!--<div class="mb"></div>
<div class="over-box">
    <div class="nav-class">
        <div class="nav-class-lf">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-8 col-md-8 col-xs-8 col-sm-8">
                        <input class="form-control" placeholder="请输入房屋编码" ng-model="name">
                    </div>
                    <div class="col-lg-4 col-md-4 col-xs-4 col-sm-4"><a class="btn btn-default focus" ng-click="find()">搜索</a></div>
                </div>
            </div>
        </div>
    </div>
</div>-->
<!--<script>
    $(".fl_active td:eq(0)").click(function () { $(".page1").show(); $(".page2").hide() })
    $(".fl_active td:eq(1)").click(function () { $(".page1").hide(); $(".page2").show() })
</script>-->
